package com.quanyan.place.entity.apiresp;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Kingson.chan on 2016/5/27 0027.
 */
public class RespPlaceUnitSalePlanByDay implements Serializable {
    private String date;
    private String week;
    List<RespPlaceUnitInfoVo> placeUnitList;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public List<RespPlaceUnitInfoVo> getPlaceUnitList() {
        return placeUnitList;
    }

    public void setPlaceUnitList(List<RespPlaceUnitInfoVo> placeUnitList) {
        this.placeUnitList = placeUnitList;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        RespPlaceUnitSalePlanByDay that = (RespPlaceUnitSalePlanByDay) o;

        return !(date != null ? !date.equals(that.date) : that.date != null);

    }

    @Override
    public int hashCode() {
        return date != null ? date.hashCode() : 0;
    }
}
